package tablefactory;

import factory.Link;

/**
 * @Author:DarknessShadow
 * @description:
 * @date 2020/5/14 17:19
 */
public class TableLink extends Link {

    public TableLink(String caption, String url) {
        super(caption, url);
    }

    @Override
    public String makeHTML() {
        return "<td><a href=\"" + url + "\">" +  caption  + "</a></td>";
    }
}
